
<!---头部------>
<div class="header">
    <div class="logo">
      <a href="{url app=store&id=$store.store_id}"><img src="{$store.store_logo}" /></a>
    </div> 
    <!---搜索框------>
    <div class="searchBar">
      <form   id="" name="" method="get" action="index.php">  
         <input type="hidden" name="app" value="store" />
             <input type="hidden" name="act" value="search" />
             <input type="hidden" name="id" value="{$store.store_id}" />
        <input type="text" name="keyword" placeholder="搜搜看吧" class="search_text" /><div class="search_btn_img"><img src="{res file=images/search_btn.png}" style="width:30px"></div><input type="submit"  value="" class="search_btn" />
         </form>
    </div>
    <!----------下拉二级菜单--------------->
    <div class="sub_menu">
          <ul>
            <!--{if $store.radio_new eq '1'}-->
              <li>
                  <a href="index.php?app=store&act=search&id={$store.store_id}&order=add_time"><h2>最新商品</h2></a>
              </li>
                 <!--{/if}-->
           <!--{if $store.radio_recommend eq '1'}-->
              <li>
                  <a href="index.php?app=store&act=search&id={$store.store_id}&recommended=1"><h2>推荐商品</h2></a>
              </li>
                  <!--{/if}-->
                <!--{if $store.radio_hot eq '1'}-->
              <li>
                  <a href="index.php?app=store&act=search&id={$store.store_id}&order=views"><h2>热门商品</h2></a>
              </li>
                <!--{/if}-->
               
                  <!--{foreach from=$store.store_gcates item=gcategory}-->
                    <li>
                <!--{if $gcategory.children}-->
               <h2>{$gcategory.value|escape}</h2>
                 <ol class="sub_menu_list">
                <!--{foreach from=$gcategory.children item=child_gcategory}-->
               <a href="{url app=store&id=$store.store_id&act=search&cate_id=$child_gcategory.id}">   <li>{$child_gcategory.value|escape}</li></a>
                  <!--{/foreach}-->
                 </ol>
                 <!--{else}-->
                   <a href="{url app=store&id=$store.store_id&act=search&cate_id=$gcategory.id}"><h2>{$gcategory.value|escape}</h2></a>
                  <!--{/if}-->
                     </li>
              <!--{/foreach}-->
                
                
            
           
          </ul>
          <div class="fun">
             <a href="javascript:;" class="code"><img src="{res file=images/code.png}"/>店铺二维码</a>
             <a href="javascript:collect_store({$store.store_id});" class="fav"><img src="{res file=images/favorite.png}"/>收藏本店</a>
          </div>
    </div>
    <!----------二维码、店铺信息--------------->
    <div class="shop_info">
          <img src="<!--{if $store.store_code}-->{$store.store_code}<!--{else}-->{res file=images/code.jpg}<!--{/if}-->" class="shop_code"/>
          <p class="shop_name">店铺ID：{$store.store_name|escape}</p>
          <p class="shop_detail">
              <span>信用度：<strong> <!--{if $store.credit_value ge 0}--><img src="{$store.credit_image}" alt="" /><!--{/if}--></strong></span><br />
             <span>{$lang.goods_count}：{$store.goods_count}</span>
          </p>
          <a href="javascript:;" class="back">返回上一页</a>
    </div>
    <!--------显示收藏信息------------->
    <div class="fav_msg">
          <img src="{res file=images/favorite.png}" /><span id='collect'>收藏成功！</span>
    </div>
</div>   